#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int Sum(int a) {
    if (a == 1)return 1;
    return a + Sum(a - 1);
}
int main() {
    int a = 0;
    scanf("%d", &a);
    printf("%d", Sum(a));
    return 0;
}
